<?php o(html_table(array('ID', '二级分类名', '上级分类', '添加时间', '更新时间'), $subCateList)) ?>
<form action="<?php o(url('link-addSubCate/step-2')) ?>" method="post">
    二级分类名称: <input type="text" name="subName" id="subName" size="10" value="<?php o($subCateName) ?>" />
    上级分类 <?php o(form_select('name="cateId"', $cateList, 'id', 'name', $selected)) ?>
    <input type="submit" value="提交" /> <?php o($actionMsg) ?>
</form>

<script type="text/javascript">
$(function(){
    $("#subName")[0].focus();
    initInput("#subName");
});
</script>